<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <title>@yield('title')</title>
    @section('headcss')
        <link rel="stylesheet" href="{{asset('/default/css/mobile/public.css')}}">
        <link rel="stylesheet" href="{{asset('/vendor/org/mobile_layer/need/layer.css')}}">
        <script>
            !new
                    function() {
                        var a = this;
                        a.width = 750,
                                a.fontSize = 100,
                                a.widthProportion = function() {
                                    var b = (document.body && document.body.clientWidth || document.getElementsByTagName("html")[0].offsetWidth) / a.width;
                                    return b > 1 ? 1 : b
                                },
                                a.changePage = function() {
                                    document.getElementsByTagName("html")[0].setAttribute("style", "font-size:" + a.widthProportion() * a.fontSize + "px !important")
                                },
                                a.changePage(),
                                window.addEventListener("resize",
                                        function() {
                                            a.changePage()
                                        },
                                        !1)
                    };
        </script>
    @show
</head>
<body>
{{--头部标签--}}
<header>
    <div class="header">
        <div class="head_red">
            <a @section('link') href="javascript:history.go(-1)" @show class="back"></a>
            <div class="title">@yield('tag')</div>
            <a id="login" class="login"></a>
        </div>
    </div>
</header>
{{--尾部--}}
@include('default.mobile.layouts.header')

{{--主体内容--}}
@yield('content')

@section('footerjs')
    <script type="text/javascript" src="{{asset('/default/js/mobile/zepto.js')}}"></script>
    <script type="text/javascript" src="{{asset('/vendor/org/mobile_layer/layer.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/mobile/public.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/mobile/isLogin.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/mobile/jquery/iscroll.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/mobile/left_zepto/zepto.touch.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/mobile/left_zepto/zepto.touchWipe.js')}}"></script>
@show
</body>
</html>